Skip to content

refactor(temporal): rename Op activities stateSnapshot/stateDiff → lifecycle* - #155

Merged
lex00 merged 1 commit into
mainfrom
refactor/op-activities-lifecycle
Jun 2, 2026
Merged

lex00 merged 1 commit into
mainfrom
refactor/op-activities-lifecycle

Conversation

@lex00

@lex00 lex00 commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Second of the lifecycle-rename series — moves the rename into the Op layer so activity names match the renamed CLI command they wrap.

What

  • Activity file lexicons/temporal/src/op/activities/state.ts → lifecycle.ts.
  • stateSnapshot/stateDiff → lifecycleSnapshot/lifecycleDiff — function exports, the registered activity-name strings (fn: "lifecycleSnapshot"), and the op/builders shortcut.
  • StateSnapshotArgs/StateDiffArgs/StateDiffResult → Lifecycle*.
  • WatchOp/ReconcileOp/ApplyOp composites and the gitlab-aws-alb-op example reference the new names.

Tests

Full suite green: 6033 passed / 5 skipped, core typecheck clean. No stateSnapshot/stateDiff code references remain.

Next: PR3 (docs lifecycle reframing + slugs + BYOL), PR4 ("Contributing a Lifecycle" guide).

…fecycle*

Continues the state → lifecycle rename into the Op layer so the activity
names match the renamed CLI command they wrap.

- Activity file lexicons/temporal/src/op/activities/state.ts → lifecycle.ts.
- stateSnapshot/stateDiff → lifecycleSnapshot/lifecycleDiff (function exports,
  the activity-name strings, and the op/builders shortcut).
- StateSnapshotArgs/StateDiffArgs/StateDiffResult → Lifecycle*.
- WatchOp/ReconcileOp/ApplyOp composites and the gitlab-aws-alb-op example
  updated to reference the new names.

Full suite green (6033 passed).
@lex00
lex00 merged commit 3853b5d into main Jun 2, 2026
9 checks passed
@lex00
lex00 deleted the refactor/op-activities-lifecycle branch June 2, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant